package Class抽象类接口;
//静态内部类
class OutClass_1 {
    public int data1 = 1;
    private  int data2 = 2;
    public static int data3 = 3;
    static class Inner {
        OutClass_1 outer = new OutClass_1();
        public int data4 = 4;
        private  int data5 = 5;
        public static int data6 = 6;
        public void test() {
            System.out.println(outer.data1);
            System.out.println(outer.data2);
            System.out.println(data3);
            System.out.println(data4);
            System.out.println(data5);
            System.out.println(data6);
        }
    }

    public void func() {
        Inner inner = new Inner();
        inner.test();
    }
}
public class Test_1 {
    public static void main(String[] args) {
        OutClass_1 outer = new OutClass_1();
        outer.func();
    }
}
